<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:h="http://java.sun.com/jsf/html">

<ui:composition template="/commons/template.xhtml">

<ui:define name="contenu">
	<h3><h:outputText value="#{msg.index_identification}"/></h3>

	<form id="form" method="post" action="j_security_check">
		<table>
			<tr>
				<td><h:outputText value="#{msg.index_identifiant}"/></td>
				<td><input name="j_username" type="text" class="inputForm" /></td>
			</tr>
			<tr>
				<td><h:outputText value="#{msg.index_password}"/></td>
				<td><input name="j_password" type="password" class="inputForm" /></td>
			</tr>
			<c:if test="${param.btLogin == 'connexion'}">
			<tr>
				<td id="errorLogin" colspan="2"><h:outputText value="#{msg.error_login}"/></td>						
			</tr>
			</c:if>
			<tr>
				<td colspan="2"><input class="btForm" name="btLogin" type="submit" value="connexion" /></td>						
			</tr>
			
		</table>
	
	</form>
</ui:define>
</ui:composition>
</html>
	